<?php namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class Comment extends Model {
    //use SoftDeletes;
    //protected $dates = ['deleted_at'];
    protected $casts = [
        'id' => 'integer'
    ];

    protected $table = 'comment';

    protected $fillable = ['content','game_id','user_id','star','user_name',];

	protected $hidden = [];


        public function game()
    {
    return $this->belongsTo('App\Game');
    }
    }
